#ifndef __COLOR_H
#define __COLOR_H

class Color
{
  public:
    Color();
    Color(Uint8 red,Uint8 green,Uint8 blue,Uint8 opacity=255);
    Color(float red,float green,float blue,float opacity=1);
    Color(Color& c);

    Uint8 getIntRed();
    Uint8 getIntGreen();
    Uint8 getIntBlue();
    Uint8 getIntOpacity();

    float getFloatRed();
    float getFloatGreen();
    float getFloatBlue();
    float getFloatOpacity();

    void setRed(Uint8 red);
    void setBlue(Uint8 blue);
    void setGreen(Uint8 green);
    void setOpacity(Uint8 opacity);

    void setRed(float red);
    void setGreen(float green);
    void setBlue(float blue);
    void setOpacity(float opacity);

    void set(Uint8 red,Uint8 green,Uint8 blue,Uint8 opacity=255);
    void set(float red,float green,float blue,float opacity=255);

  private:
    Uint8 m_red;
    Uint8 m_green;
    Uint8 m_blue;
    Uint8 m_opacity;
}

#endif
